<script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <div>
    <a href="https://vitejs.dev" target="_blank">
      <img src="/vite.svg" class="logo" alt="Vite logo" />
    </a>
    <a href="https://vuejs.org/" target="_blank">
      <img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
    </a>
  </div>
  

 
  <div class="main">
    <span class="left"> 张三</span>
    <span class="right"> 李四</span>
    <el-button type="primary">Primary</el-button>
  </div>

  <HelloWorld msg="Vite + Vue" />
</template>

<style scoped lang="scss">
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
// .main .left{
//   color: red;
// }
// .main .right{
//   color: green;
// }

.main {
.left{
  color: red;
}
.right{
  color: green;
}
}

</style>
